//
//  BaseListViewController.h
//  JJHW_coreData
// 默认就已经有tableview分页 请求 view
//  Created by lizhenqiang on 16/4/8.
//  Copyright © 2016年 HFKJ_LZQ. All rights reserved.
//

#import "XHBaseTableViewController.h"

@interface BaseListViewController : XHBaseTableViewController
@property (nonatomic, strong) NSMutableArray *pageDataArr;
@property (nonatomic) BOOL isDefault;      //Default  NO  YES的时候就是要去掉另外一个页面加载全部
@property (nonatomic) NSInteger currentPage;
- (void)setTotalPages:(NSInteger)totalPage;

#pragma mark - Refresh Control And Request Latest Data

- (void)addRefreshHeader:(UIScrollView *)scrollView;
- (void)addRefreshHeaderAndFooterView:(UIScrollView *)scrollView;
- (void)endRefreshControlLoading;

#pragma mark -override
- (void)loadDataWithCurrentpage:(NSInteger)currentpage;
- (void)loadAllDataWithOtherVC;   //when isDefault  YES need  override
@end
